//
//  pcm-convetor.h
//  FFMPEG-Serial-Demo
//
//  Created by aron on 2017/12/28.
//  Copyright © 2017年 aron. All rights reserved.
//

#ifndef pcm_convetor_h
#define pcm_convetor_h

#include <stdio.h>

/**
 * Convert PCM16LE raw data to WAVE format
 * @param pcmpath      Input PCM file.
 * @param channels     Channel number of PCM file.
 * @param sample_rate  Sample rate of PCM file.
 * @param wavepath     Output WAVE file.
 */
int simplest_pcm16le_to_wave(const char *pcmpath,int channels,int sample_rate,const char *wavepath);

#endif /* pcm_convetor_h */
